<template>
	<view class="content">
		<swiper class="swiper-box" @change="change" indicator-dots autoplay interval="5000" circular>
			<swiper-item v-for="(item, index) in swiperList" :key="item.id">
				<image :src="item.url" alt="" referrerPolicy="no-referrer"/>
			</swiper-item>
		</swiper>
		<uni-notice-bar showIcon showClose single :text="text" />
		<view class="four_card">
			<view class="four_card_left">
				
			</view>
			<view class="four_card_right">
				<view class="four_card_right1">
					
				</view>
				<view class="four_card_right2">
					
				</view>
			</view>
		</view>
		<view class="three_card">
			<view class="three_card_info">
				
			</view>
			<view class="three_card_info">
				
			</view>
			<view class="three_card_info">
				
			</view>
		</view>
	</view>
</template>

<script>
	import {getListAsync} from '@/api/getSightbead.js';
	export default {
		data() {
			return {
				text:"相关内容仅供参考",
				swiperList:[
					{		
						id:1,
						url:require('@/static/img/img/banner04.jpg')
					}
				],
				
			}
		},
		onLoad() {
			this.getSightbeads()
		},
		methods: {
			async getSightbeads(){
				const {data} =await  getListAsync()
			}
		}
	}
</script>
 
<style lang="scss" scoped>
	
	.content {
		width: 100vw;
	}
	
	.swiper-box {
		width: 100vw;
		height: 400rpx;
	}
	
	image {
		object-fit: cover;
		height: 100%;
		width: 100%;
	}
	
	.four_card{
		padding: 20rpx;
		display: flex;
		align-items: center;
		justify-content: space-between;
		.four_card_left{
			border: 1px solid #000;
			border-radius: 10rpx;
			height: 300rpx;
			width: 48%;
			margin-right: 20rpx;
		}
		.four_card_right{
			width: 48%;
			.four_card_right1{
				border: 1px solid #000;
				border-radius: 10rpx;
				height: 140rpx;
				width: 100%;
				margin-bottom: 20rpx;
			}
			.four_card_right2{
				border: 1px solid #000;
				border-radius: 10rpx;
				height: 140rpx;
				width: 100%;
			}
		}
	}
	
	.three_card{
		padding: 20rpx;
		width: 100vw;
		display: flex;
		justify-content: space-between;
		align-items: center;
		box-sizing: border-box;
		.three_card_info{
			// margin-right: 30rpx;
			width: 29vw;
			height: 300rpx;
			border: 1px solid #000;
			border-radius: 10rpx;
		}
	}
	
</style>
